package com.fy.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("file_share")
public class FileShare {
    @TableId
    private String shareId;

    @TableField("file_id")
    private String fileId;

    @TableField("user_id")
    private Integer userId;

    @TableField("valid_type")
    private Integer validType;

    @TableField("expire_time")
    private Date expireTime;

    @TableField("share_time")
    private Date shareTime;

    @TableField("code")
    private String code;

    @TableField("show_count")
    private Integer showCount;
}